{*
 * This file is part of the Agora distribution. 
 * Detailed copyright and licensing information can be found
 * in the gpl-3.0.txt file which should be included in the distribution.
 * 
 * @version		$Id: 3.0.14 Olympus 2010-09-28 rammstein4o $
 * @copyright  2007 - 2010 jVitals
 * @license   GPLv3 Open Source
 * @link       http://jvitals.com
 * @since      File available since initial release
 *}	

<script type="text/javascript">
{literal}
	function warningMsg()
	{
   		var retVal = confirm("##All Agora's existing content will be erased##");
   		if( retVal == true ){
      	alert("##User wants to continue##");
	  	return true;
   		}else{
      	alert("##User does not want to continue##");
	  	return false;
   		}
   }
{/literal}
</script>

{$html->toolbar->title('##Forums Converter##')}

<div style="float:left; width: 10%;">
	{include file=maintenance/links.tpl}
</div>

<form action="{url task=maintenance page=converters action=kunena}" onSubmit="if (warningMsg()) return true; else return false;" method="POST">
		<table class="admintable">
			<tr>
				<td>
					<input type="submit" value="##Convert Kunena Forum##"/>
				</td>
			</tr>
		</table>
</form>

<form action="{url task=maintenance page=converters action=ccboard}" onSubmit="if (warningMsg()) return true; else return false;" method="POST">
		<table class="admintable">
			<tr>
				<td>
					<input type="submit" value="##Convert CCBoard##"/>
				</td>
			</tr>
		</table>
</form>

<form action="{url task=maintenance page=converters action=sforum}" onSubmit="if (warningMsg()) return true; else return false;" method="POST">
		<table class="admintable">
			<tr>
				<td>
					<input type="submit" value="##Convert Simplest Forum##"/>
				</td>
			</tr>
		</table>
</form>

<form action="{url task=maintenance page=converters action=joobb}" onSubmit="if (warningMsg()) return true; else return false;" method="POST">
		<table class="admintable">
			<tr>
				<td>
					<input type="submit" value="##Convert Joo!BB Forum##"/>
				</td>
			</tr>
		</table>
</form>